import numpy as np

vedf_position = np.array([0.01e-2, 0.6e-2, 1.25e-2, 1.9e-2, 2.49e-2])
cell_length = 2.0e-5
sim_length = 3.29e-2
print("cell number: ", sim_length / cell_length)

index_position = vedf_position / cell_length
print(index_position)

print("======================================")
print("vedf position: ", 20.0*cell_length, ",", sim_length * 1.0 / 6.0, ",", sim_length * 2.0 / 6.0, ",", sim_length * 3.0 / 6.0, ",", sim_length * 4.0 / 6.0, ",", sim_length * 5.0 / 6.0, ",", sim_length - 20.0 * cell_length)
vedf_position = np.array([20.0*cell_length, sim_length * 1.0 / 6.0, sim_length * 2.0 / 6.0, sim_length * 3.0 / 6.0, sim_length * 4.0 / 6.0, sim_length * 4.0 / 6.0, sim_length - 20.0 * cell_length])
index_position = vedf_position / cell_length
print(index_position)


print("======================================")
print("zoom region: ", 20.0*cell_length, sim_length - 20.0 * cell_length)
